ditch (someone) like a bad habit

Translations
plaquer quelqu’un comme une vieille chaussette
Definitions
To abruptly or decisively end a relationship or association with someone, often because they are considered undesirable or problematic, in the same way one would try to quickly get rid of a bad habit.